# -*- coding: utf-8 -*-#
#-------------------------------------------------------------------------------
# 建立者:        Young  
# Name:         less1_01
# Description:
# Author:       asus
# Date:         2019/3/13
#-------------------------------------------------------------------------------


class Man(object):
    def __init__(self):
        self.name = 'Young'
        self.age = 22
        self.__aa = 'aabc'

    def hell(self):
        self.salary = 10000000
        print('hello motherfucker')

    def __myage(self):  # 加 __方法名
        return self.age

    def getAA(self):
        return self.__aa

#上面是一个代码块
if __name__ == '__main__':
    a = Man()
    a.hell()
    print(a.name,a.age)
    print(a.salary)
    print(a.getAA())